package cn.psvmc.cxzapi.model.system;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 消息用户表
 * @Author auto
 * @Date 2024-08-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_platform_msg_user")
public class TPlatformMsgUser implements Serializable {

    //消息用户id
    @TableId(value = "pmuid", type = IdType.AUTO)
    private Integer pmuid;

    //平台消息id
    @TableField("pmid")
    private Integer pmid;

    //用户id
    @TableField("userid")
    private Integer userid;

    //信件状态（0未读1已读）
    @TableField("readed")
    private Integer readed;

    //查看时间
    @TableField("readtime")
    private LocalDateTime readtime;

    //创建人id
    @TableField(value = "createid", fill = FieldFill.INSERT)
    private Integer createid;

    //创建时间
    @TableField(value = "createtime", fill = FieldFill.INSERT)
    private LocalDateTime createtime;


}
